#pragma once

#include "base_type.h"

BOOL is_int_dig(wchar_t c);
BOOL parse_int(str_wc str, size_t len, size_t *p_int);

size_t num_of_1_u8(u8 value);
BOOL decode_u4(byte *bytes, size_t *p_size, u4 *p_value);
BOOL decode_i4(byte *bytes, size_t *p_size, i4 *p_value);
